

// 支付结果回调
const paymentCallBack = function(params) {
	
	setTimeout(function() {
		
		//礼品卡支付
		if(params.payModule == "giftCard") {
			uni.navigateTo({
				url: "/pagesAccount/giftCard/myCard"
			});
		}
		
		//水券账户支付
		if(params.payModule == "waterBalance") {
			uni.switchTab({
				url: '/pages/user/user'
			});
		}
		
		//余额账户支付
		if(params.payModule == "accountBalance") {
			uni.switchTab({
				url: '/pages/user/user'
			});
		}
	}, 1500);
}


export default {
	paymentCallBack
}



